
.dux-header-fixed {
  height: 49px;
  .dux-header {
    position: fixed;

  }
}

.dux-header {
  background: #ffffff;
  border-bottom: 1px solid #e4e4e4;
  color: #434343;
  font-size: 1.6rem;
  display: flex;
  height: 49px;
  line-height: 49px;
  padding: 0 10px;
  z-index: 1000;
  left: 0;
  right: 0;
  .header-nav {
    .header-icon {
      width: 20px;
    }
    a {
      text-align: center;
      min-width: 36px;
      display: block;
    }
  }
  .header-title {
    flex: 1;
    font-size: 1.6rem;
    color: #434343;
    margin: 0;
    font-weight: 400;
    text-align: center;
    display: block;
    line-height: 49px;
    a {
      color: #434343;
    }
  }
  .header-tabs {
    flex: 1;
    text-align: center;
    font-size: 1.6rem;
    a {
      margin: 0 10px;
      padding: 5px 0;
      &.active {
        border-bottom: 2px solid $color-main;
      }
    }
  }
  .header-right {
  }
}

.dux-header-other {
  background: $color-main;
  border-bottom: 1px solid $color-main;
  color: #fff;
  .header-title a, .header-nav a, a {
    color: #fff;
  }

  .header-nav {
    a {
      color: darken(#fff, 10%);
    }
  }

}

.dux-header-nav {
  height: 57px;
  display: none;
  ul {
    position: fixed;
    width: 100%;
    z-index: 1;
    display: flex;
    background: #333;
    color: #fff;
    li {
      display: inline-block;
      flex: 1;
      text-align: center;
      a {
        color: #fff;
        display: block;
        padding: 5px 5px;
        i {
          font-size: 1.6rem;
        }
      }
    }
  }
}

.dux-step {
  font-size: 0;
  letter-spacing: -4px;
  dl {
    font-size: 1.4rem;
    line-height: 25px;
    vertical-align: top;
    letter-spacing: normal;
    word-spacing: normal;
    display: inline-block;
    width: 20%;
    margin-top: 30px;
    margin-bottom: 10px;
    position: relative;
    z-index: auto;
    text-align: center;
    &.active {
      .node {
        background: $color-main;
        border-color: lighten($color-main, 35);
        background-clip: padding-box;
      }
      .bg {
        background: $color-main;
      }
    }

    &:first-child {
      .bg {
        position: relative;
        width: 50%;
        left: 50%;
      }
    }

    &:last-child {
      .bg {
        width: 50%;
      }
    }

    dt {
      text-align: center;
      position: relative;
      top: -20px;
    }
    dd {
      margin: 0;

    }
    .bg {
      height: 5px;
      background: #eee;
    }
    .date {
      font-size: 1.2rem;
      color: #999;
      text-align: center;
      position: relative;
      top: -10px;
      line-height: 22px;

    }
    .node {
      background: #ccc;
      width: 25px;
      height: 25px;
      display: inline-block;
      border-radius: 50%;
      text-align: center;
      color: #fff;
      border: 5px solid #eee;
      position: relative;
      top: -15px;
    }
  }

}

@keyframes dux-spec {
  0% {
    height: 0
  }

  100% {
    height: 70%
  }
}

.dux-popup-fixed {
  background: rgba(0, 0, 0, .5);
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  overflow: hidden;
  .dux-popup {
    height: 70%;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    animation: dux-spec .3s 1 ease 0s;
  }
}

.dux-popup-active {
  display: block;
}

.dux-popup {
  background: #fff;
  position: relative;
  .popup-title {
    position: absolute;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 43px;
    border-bottom: 1px solid #dedede;
    background-color: #fff;
    .title {
      text-align: center;
      font-size: 1.6rem;
      display: block;
      line-height: 43px;
    }
    .close {
      display: block;
      position: absolute;
      top: 5px;
      right: 10px;
      cursor: pointer;
      font-size: 2.2rem;
      opacity: .2;
    }
  }
  .popup-header {
    display: flex;
    height: 60px;
    .title {

      text-align: center;
      font-size: 1.6rem;
      display: block;
      line-height: 43px;
      flex: 1;
    }
    .image {
      position: relative;
      bottom: 50px;
      border: 1px solid #cecece;
      margin-left: 10px;
      width: 102px;
      height: 102px;
      img {
        width: 100px;
        height: 100px;
      }
    }
    .info {
      flex: 1;
      padding-top: 10px;
      padding-left: 10px;
      p {
        margin: 0;
      }
    ;
    }
  }

  .popup-items {
    position: absolute;
    display: block;
    top: 80px;
    bottom: 55px;
    left: 0;
    right: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 10px;
    dl {
      font-size: 1.6rem;
      padding: 0 10px;
      border-bottom: 1px solid #eee;
      margin-bottom: 10px;
      &:last-child {
        border-bottom: none;
      }
      dt {
        margin-bottom: 10px;
        font-weight: normal;
      }
      dd {
        > a {
          display: inline-block;
          margin-bottom: 10px;
          padding: 2px 8px;
          margin-right: 10px;
          border: 1px solid #eee;
          border-radius: 5px;
          color: #666;
          &.active {
            background: $color-main;
            border-color: $color-main;
            color: #fff;
          }
        }

      }
    }
  }

  .popup-action {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    .uk-button {
      padding-top: 5px;
      padding-bottom: 5px;
      border-radius: 0;
      font-size: 1.6rem;
    }
  }

  .popup-close {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #999;
    padding: 10px;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center center;
  }

  .popup-body {
    position: absolute;
    top: 44px;
    width: 100%;
    bottom: 0;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

}